package com.atguigu.service;

import com.atguigu.anno.Bean;
import com.atguigu.anno.Di;
import com.atguigu.dao.UserDao;

@Bean
public class UserServiceImp implements  UserService {

    @Di
    private UserDao userDao;

    @Override
    public void save() {
        System.out.println("UserServiceImp.save()");
        userDao.save();
    }
}
